package com.qf.config;

import com.qf.pojo.User;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author 千锋健哥
 */
@Configuration
public class UserConfig {

    @Bean
    public User test1() {
        User user = new User();
        user.setId(1);
        user.setName("张三");
        return user;
    }
}
